package com.ruoyi.system.domain.award.teach;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教学获奖信息对象 teach_award_info
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
public class TeachAwardInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 奖项名称 */
    @Excel(name = "奖项名称")
    private String awardName;

    /** 奖项类型 */
    @Excel(name = "奖项类型")
    private String awardType;

    /** 获奖等级 */
    @Excel(name = "获奖等级")
    private String awardLevel;

    /** 获奖类型 */
    @Excel(name = "获奖类型")
    private Integer personType;

    /** 获奖日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardDate;
    /** 组织单位数量 */
    private Integer totalOrganization;
    /** 自己组织单位排名 */
    private Integer ownOrganizationOrder;
    /** 上传附件地址 */
    @Excel(name = "上传附件地址")
    private String attachmentUrl;
    /** 创建人 */
    private Long teacherId;
    /** 创建人 */
    private String teacherName;
    /** 教师等级 */
    private Long teacherRank;
    /** 部门等级 */
    private Long deptRank;
    /** 获奖教师信息 */
    private List<TeachAwardTeacher> teachers;
    /** 部门id */
    private Long deptId;
    /** 当前角色 */
    private String currentRole;
    /** 开始时间 */
    private Date beginTime;
    /** 结束时间 */
    private Date endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAwardName(String awardName) 
    {
        this.awardName = awardName;
    }

    public String getAwardName() 
    {
        return awardName;
    }

    public void setAwardType(String awardType) 
    {
        this.awardType = awardType;
    }

    public String getAwardType() 
    {
        return awardType;
    }

    public void setAwardLevel(String awardLevel) 
    {
        this.awardLevel = awardLevel;
    }

    public String getAwardLevel() 
    {
        return awardLevel;
    }

    public void setPersonType(Integer personType) 
    {
        this.personType = personType;
    }

    public Integer getPersonType() 
    {
        return personType;
    }

    public void setAwardDate(Date awardDate) 
    {
        this.awardDate = awardDate;
    }

    public Date getAwardDate() 
    {
        return awardDate;
    }

    public void setAttachmentUrl(String attachmentUrl) 
    {
        this.attachmentUrl = attachmentUrl;
    }

    public String getAttachmentUrl() 
    {
        return attachmentUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("awardName", getAwardName())
            .append("awardType", getAwardType())
            .append("awardLevel", getAwardLevel())
            .append("personType", getPersonType())
            .append("awardDate", getAwardDate())
            .append("attachmentUrl", getAttachmentUrl())
            .toString();
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }


    public Long getTeacherRank() {
        return teacherRank;
    }

    public void setTeacherRank(Long teacherRank) {
        this.teacherRank = teacherRank;
    }

    public Long getDeptRank() {
        return deptRank;
    }

    public void setDeptRank(Long deptRank) {
        this.deptRank = deptRank;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getCurrentRole() {
        return currentRole;
    }

    public void setCurrentRole(String currentRole) {
        this.currentRole = currentRole;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Integer getTotalOrganization() {
        return totalOrganization;
    }

    public void setTotalOrganization(Integer totalOrganization) {
        this.totalOrganization = totalOrganization;
    }

    public Integer getOwnOrganizationOrder() {
        return ownOrganizationOrder;
    }

    public void setOwnOrganizationOrder(Integer ownOrganizationOrder) {
        this.ownOrganizationOrder = ownOrganizationOrder;
    }


    public List<TeachAwardTeacher> getTeachers() {
        return teachers;
    }

    public void setTeachers(List<TeachAwardTeacher> teachers) {
        this.teachers = teachers;
    }
}
